import 'empUtils/EMPCustomCell.dart';

import 'package:flutter/material.dart';

class EMPTestCustomCellVC extends StatelessWidget {
  final String title;

  EMPTestCustomCellVC({required this.title});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(title),
      ),
      body: ListView.builder(
        itemCount: 10,
        itemBuilder: (context, index) {
          return EMPCustomCell(
            title: 'Cell $index',
            subtitle: 'Subtitle $index',
            cellStyle: CustomCellStyle.normal,
            onTap: () {
              print('Cell $index 被点击了');
            },
          );
        },
      ),
    );
  }
}


